package lab02.test07;

/**
 * Created by Administrator on 2017/10/19.
 */
public class Person {

    //属性：人名、年龄、身份证号等信息
    String name;
    int age;
    String idcard;

    //行为：将属性信息作为字符串返回

    String getString(){
        return name + "|"+age+"|"+idcard+"|";
    }
}
